Automated Expected Amortised Cost Analysis of Probabilistic Data Structures

نویسندگان

چکیده

In this paper, we present the first fully-automated expected amortised cost analysis of self-adjusting data structures, that is, randomised splay trees, heaps and meldable heaps, which so far have only (semi-) manually been analysed in literature. Our is stated as a type-and-effect system for first-order functional programming language with support sampling over discrete distributions, non-deterministic choice ticking operator. The latter allows specification fine-grained models. We state two soundness theorems based on different -- but strongly related typing rules ticking, account differently non-terminating computations. Finally provide prototype implementation able to fully automatically analyse aforementioned case studies.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Automated amortised analysis

Interpretation. The basic idea of abstract interpretation is to simplify and omit all calculations that do not directly influence the execution costs. For example, instead of computing a numeric value, it is only computed whether it is positive or negative, thereby speeding up the execution of the program to be examined. While having the attraction of being very general, one major disadvantage

متن کامل

Amortised Memory Analysis Using the Depth of Data Structures

The heap space analysis presented by Hofmann and Jost in their 2003POPL paper [2] finds linear space bounds for many functional programs.It uses an amortized analysis: assigning hypothetical amounts of free space(called potential) to data structures in proportion to their sizes using typeannotations. Constraints on these annotations in the type system ensurethat the tota...

متن کامل

Probabilistic Kinetic Data Structures

We introduce a probabilistic kinetic data structure that uses a motion model to maintain a specific geometric structure to within a user-specified confidence value. We also introduce a certificate-based error model and accompanying problem-specific proofs that the robust error model is implied by this new, more geometrically generalizable, error model. We show that the probabilistic kinetic dat...

متن کامل

Probabilistic Modeling of Data Structures

Professor Arne Andersson's Letter-to-the-Editor concerning our paper \On the Balance Property of Patricia Tries: External Path Length Viewpoint" Theor. Comp. Sci., 68, 1989 motivated us to present some thoughts about probabilistic analysis of data structures on words. The intention of this note is to discuss potential advantages and disadvantages of probabilistic analyses, and in particular to ...

متن کامل

A Probabilistic Analysis of Hierarchical Geometric Data Structures*

The size of five hierarchical geometric data structures is investigated analytically using random image models. Upper bounds on the size of the structures, as well as some lower bounds, are derived. The results are useful in predicting the storage required by the structures as well as the performance of algorithms that rely on them.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Lecture Notes in Computer Science

سال: 2022

ISSN: ['1611-3349', '0302-9743']

DOI: https://doi.org/10.1007/978-3-031-13188-2_4